PGMB\ParseFormFields B

Total Complexity 92
Dependencies 24
Dependents 4
Total lines 468
Lines of code 305
Logical lines of code 183
Comment lines 80
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
getLocalPost()
A
38 15 60
get_media_item()
A
54 10 18
validate_wp_image_size()
S
51 5 25
sanitize_location()
S
58 5 16
get_media_items()
S
61 5 12
getLocations()
S
62 5 11
sanitize()
S
59 4 15
validate_image_props()
S
62 5 10
generate_placeholder_variables()
S
53 3 23
get_link_parsing_mode()
S
62 3 12
get_file_size_from_download()
S
62 3 12
get_remote_file_size()
S
65 3 11
get_local_file_size()
S
64 3 11
get_file_size_from_headers()
S
68 3 7
get_summary()
S
70 3 6
convert_webp()
S
58 2 14
__construct()
S
71 2 6
validate_external_image_size()
S
64 2 9
is_url_relative()
S
77 2 3
get_content_image()
S
68 2 7
is_repost()
S
78 2 3
getPublishDateTime()
S
82 1 3
get_file_size_from_path()
S
80 1 3
get_topic_type()
S
80 1 3
validate()
S
91 1 2
parse_placeholder_variables()
S
78 1 3